<template>
  <div class="app" >
   <BaseCount 
   @changeCount="handleChange"
   :count="count"></BaseCount>
  </div>
</template>
<style>

</style>
<script>
import BaseCount  from './components/MyInformation.vue';
export default {
  name:'App',
  components:{
    BaseCount:BaseCount
  },
  data (){
    return {
      count:100
    }
  },
  methods:{
    handleChange(newCount){
      this.count=newCount
    }
  }
}
</script>